-- GENERATED SPELL FOR [Skymaster Baeric] --


function spell0_30269(pUnit, Event) --@Fiery Intellect,Self--
pUnit:FullCastSpellOnTarget(35917,pUnit)
pUnit:RegisterEvent('Sorts_30269', 621, 1)
end

function Sorts_30269(pUnit, Event)
local choix_sorts_30269 = math.random(0, 0)
if choix_sorts_30269 == 0 then
pUnit:RegisterEvent('spell0_30269', 1, 1)
end
end

function mob30269_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30269', math.random(1500, 3000), 1)
end

function mob30269_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30269_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30269_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30269, 1, 'mob30269_Action')
RegisterUnitEvent(30269, 2, 'mob30269_Leave')
RegisterUnitEvent(30269, 3, 'mob30269_Kill')
RegisterUnitEvent(30269, 4, 'mob30269_Die')
